package com.googlecode.perfectable.persistable.serialization;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface Serializer {
	Object read(InputStream source) throws IOException, ClassNotFoundException;

	void write(OutputStream sink, Object obj) throws IOException;
}
